package com.gufe.entity;

import lombok.Data;
import lombok.Builder;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

import java.time.LocalDateTime;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class User {

    private Integer id; // 用户ID
    private String name;//姓名
    private String openId;//唯一标识
    private Integer gender;//性别
    private String avatarUrl;//头像
    private String username; // 用户名
    private String password; // 密码
    private String phone; // 手机号码
    private Integer status; // 用户状态 (1: 在线, 0: 离线)

    private LocalDateTime createTime;
    private LocalDateTime updateTime;
}
